﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ChuanYe.CountyFireManagement.Api.Models
{
    public class FireStationRequest
    {

        /// <summary>
        /// 火灾编号
        /// </summary>
        public int FireId { get; set; }

        /// <summary>
        /// 驻守内容
        /// </summary>
        public string StationContent { get; set; }

        /// <summary>
        /// 发送驻守内容 模式  0.通知 1.通知和短信
        /// </summary>
        public int SendMode { get; set; }

        /// <summary>
        /// 驻守人员编号
        /// </summary>
        public int SceneUserId { get; set; }


        /// <summary>
        /// 预计经度  1|2|3 
        /// </summary>
        public string EstimateLongitude { get; set; }

        /// <summary>
        /// 预计纬度  1|2|3
        /// </summary>
        public string EstimateLatitude { get; set; }



        /// <summary>
        /// 预计高度(高程)
        /// </summary>
        public string EstimateAltitude { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 事发时间
        /// </summary>
        public DateTime? TransDatetime { get; set; }
    }
    public class FireCompleteStationRequest 
    {

        /// <summary>
        /// 火灾Id
        /// </summary>
        public int FireId { get; set; }


        /// <summary>
        /// 现场人员ID
        /// </summary>
        public int SceneUserId { get; set; }

        /// <summary>
        /// 是否复燃
        /// </summary>
        public bool IsReburn { get; set; }

        /// <summary>
        /// 到达现场时间
        /// </summary>
        public DateTime? SceneTime { get; set; }


        /// <summary>
        /// 纠偏 1|2|3
        /// </summary>
        public string ReviseLongitude { get; set; }

        /// <summary>
        /// 纠偏 1|2|3
        /// </summary>
        public string ReviseLatitude { get; set; }


        /// <summary>
        /// 纠偏高度(高程)
        /// </summary>
        public string ReviseAltitude { get; set; }

        /// <summary>
        /// 现场图片或视频文件地址
        /// </summary>
        public List<FireStationAttachRequest> Attachs { get; set; }

    }

    public class FireStationAttachRequest : FireFieldAttachRequest 
    {

    }

}
